<?php
namespace App\Module\Admin\Request\Score;

use Hyperf\Validation\Request\FormRequest;

class DecreaseRequest extends FormRequest{

    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'user_id'=>'required|exists:user,user_id',
            'score'=>'required|integer',
        ];
    }
}